\section{mini --- Index of Minimum Value}
\label{fn:mini}
\index{mini()}
\index{index of minimum value}
\begin{rail}
MiniI : 'mini' '(' Matrix ')' ;
\end{rail}

\verb+mini+ returns the index of the minimum value contained in
the argument matrix. If the argument is a row or column vector,
then the index of the smallest value is returned. If the argument
is not such a vector, then
a row vector of the column indices of the smallest value in each column
is returned.

\paragraph{Example}
\index{example of mini()}
\index{mini()!example}
\begin{verbatim}
> a = rand(3,5)
 a =
   0.0106      0.555      0.561      0.334      0.692
    0.414       0.29      0.791      0.278      0.737
    0.233      0.205      0.269      0.789      0.248
> mini(a)
        1          3          3          2          3
> mini(a')'
        1
        4
        2
\end{verbatim}

See also: Page~\pageref{fn:max} \verb+max()+,
Page~\pageref{fn:maxi} \verb+maxi()+,
Page~\pageref{fn:min} \verb+min()+.

\newpage





